/** 
 * File: NullReferenceException.java
 * Project: CMSC 345 JUnit Assignment, Fall 2010
 * Author: David Chong
 * Date: 12/1/10
 * E-mail: ro62899@umbc.edu
 * This is a checked exception that is thrown when trying to access a null
 * reference.
 * 
 * Class Invariant: None
 */

package ocrs.server.registeringSystem;

public class NullReferenceException extends Exception
{
	
	/** 
     * Name: NullReferenceException <br><br>
     * Creates and initializes the object with its parent constructor. 
     * <br><br>
     * Precondition: None <br>
     * Postcondition: It makes a creates a NullReferenceException object.
     * <br>
     * @param None
     */
    public NullReferenceException()
    {
    	super();
    } // end of default constructor
    
    
    
    /** 
     * Name: NotValidArgumentException <br><br>
     * Creates and initializes the object with its parent constructor with the
     * String passed in. 
     * <br><br>
     * Precondition: None <br>
     * Postcondition: It makes a creates a NotValidArgumentException object 
     *                with the String passed in. <br>
     * @param errorMessage - the error that can be displayed
     */
    public NullReferenceException(String errorMessage)
    {
    	super(errorMessage);
    } // end of constructor
} // end of NullReferenceException